package com.lnu_devteam.zongce.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.lnu_devteam.zongce.common.PageRequest;
import com.lnu_devteam.zongce.model.dto.FixedProjectSaveDTO;
import com.lnu_devteam.zongce.model.dto.FixedProjectUpdateDTO;
import com.lnu_devteam.zongce.model.entity.FixedProject;
import com.baomidou.mybatisplus.extension.service.IService;
import com.lnu_devteam.zongce.model.vo.FixedProjectVO;

import java.util.List;

/**
* @author xbaoziplus
* @description 针对表【tb_fixed_project(固定分值项目表)】的数据库操作Service
* @createDate 2023-03-23 11:48:19
*/
public interface FixedProjectService extends IService<FixedProject> {

    boolean saveFixedProject(FixedProjectSaveDTO fixedProjectSaveDTO);

    boolean updateFixedProject(FixedProjectUpdateDTO fixedProjectUpdateDTO);

    Page<FixedProjectVO> pageVO(PageRequest pageRequest);

    List<FixedProjectVO> listAll();

    boolean deleteFixedProject(Long fpId);
}
